<%@ page language="java" contentType="text/html; charset=utf-8" %>
<%@ page import="com.alibaba.fastjson.JSONObject" %>
<%@ page import="weaver.general.Util" %>
<jsp:useBean id="rs" class="weaver.conn.RecordSet" scope="page"/>
<jsp:useBean id="bb" class="weaver.general.BaseBean"/>
<%
    String pid = Util.null2String( request.getParameter( "pid" ) );
    String lc = Util.null2String( request.getParameter( "lc" ) );
    JSONObject jsonData = new JSONObject();
    String sql = "update uf_kbxxb set kbzt=1 where zblx=? and lc=?";
    if(rs.executeQuery( sql, pid, lc)){
    out.print( jsonData.toJSONString() );
    bb.writeLog( "getZjkb_Ajax=" + jsonData.toJSONString() );
%>
<script language="javascript" type="text/javascript">
    alert("开标成功");
    window.close();
</script>
<%}else {%>
<script language="javascript" type="text/javascript">
    alert("开标失败");
    window.close();
</script>
<%}%>


